package com.blacksheep.mtm.pojo.manager;

import java.util.Date;

public class TbDevice {
    private Integer id;

    private String code;

    private String type;

    private Integer freezingTime;

    private String remark;

    private String qrcode;

    private String storeId;

    private Integer state;

    private Date createTime;

    private Date updateTime;

    public TbDevice(Integer id, String code, String type, Integer freezingTime, String remark, String qrcode, String storeId, Integer state, Date createTime, Date updateTime) {
        this.id = id;
        this.code = code;
        this.type = type;
        this.freezingTime = freezingTime;
        this.remark = remark;
        this.qrcode = qrcode;
        this.storeId = storeId;
        this.state = state;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public TbDevice() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Integer getFreezingTime() {
        return freezingTime;
    }

    public void setFreezingTime(Integer freezingTime) {
        this.freezingTime = freezingTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode == null ? null : qrcode.trim();
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId == null ? null : storeId.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}